package trlygjj.tanruiliyigenjinjin.page;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by user on 2018/7/7.
 */

/**
 * 用来封装分页数据
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageResult {
    /**
     * total查出来的总记录数
     */
    private int total;
    /**
     * rows总数据
     */
    private List<?> rows = new ArrayList<>();
}
